Skip to content

Conversation

@flipbit03
Copy link
Owner

In my usage, I've found that some IDEs/LSPs actively avoid suggesting an import named like main(), as that is a common name used as ... main functions in user code 😅

This PR basically renames @main to @python_main, avoiding that issue.

…IDEs actively avoid suggesting importing something named "main")
@flipbit03 flipbit03 self-assigned this Dec 7, 2024
@flipbit03
Copy link
Owner Author

@Kettss1 thanks for reviewing this very involved pull request - I'm sure it was a tour de force!

@flipbit03 flipbit03 merged commit ebc2cf1 into main Dec 7, 2024
5 checks passed
@flipbit03 flipbit03 deleted the rename_main_function branch December 7, 2024 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants